Don't let the 'B' interactive spec default to buffers viewed in
authorJim Blandy <jimb@redhat.com>
Thu, 17 Jun 1993 05:05:53 +0000 (05:05 +0000)
committerJim Blandy <jimb@redhat.com>
Thu, 17 Jun 1993 05:05:53 +0000 (05:05 +0000)
any visible frame.
* buffer.c (Fother_buffer): Pass Qt as the second argument
to Fget_buffer_window.
* window.c (window_loop): In GET_BUFFER_WINDOW case, ignore
non-visible frames.
(Fget_buffer_window): Change doc string to mention that passing Qt
for the FRAME argument returns windows on visible frames only.

src/buffer.c

index f2d6ca37e74c4e0c9ea1d843f4e0e26752ab1bc8..d1680961e3bffd358d9bc35c251833dff3af0c37 100644 (file)
@@ -585,7 +585,7 @@ If BUFFER is omitted or nil, some interesting buffer is returned.")
       if (XSTRING (XBUFFER (buf)->name)->data[0] == ' ')
        continue;
       if (NILP (visible_ok))
-       tem = Fget_buffer_window (buf, Qvisible);
+       tem = Fget_buffer_window (buf, Qt);
       else
        tem = Qnil;
       if (NILP (tem))